﻿using B.S.Orders.ErrorCord;
using MediatR;

namespace B.S.Orders.Write.Api.Application.Command.OutsourcingCommand
{
    public class UpdateOutsourcingDetailCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductNumber { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specifications { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public int OrderQuantity { get; set; }
        /// <summary>
        /// 已委外数量
        /// </summary>
        public int OutsourcingSum { get; set; }
        /// <summary>
        /// 本次委外数量
        /// </summary>
        public int OutsourcingNumber { get; set; }
        /// <summary>
        /// 委外单价
        /// </summary>
        public int OutsourcingPrice { get; set; }
        /// <summary>
        /// 票据类型
        /// </summary>
        public string TicketType { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public int Rate { get; set; }
        /// <summary>
        /// 委外含税单价
        /// </summary>
        public int OutsourcingIncludesPrice { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public int Price { get; set; }
        /// <summary>
        /// 税额
        /// </summary>
        public int Tax { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public int TotalAmount { get; set; }
        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime Delivery { get; set; }
        /// <summary>
        /// 备注
        /// </summary>w
        public string Remark { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        public int OutsourcingId { get; set; }
    }
}
